<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | 王勇程 <laughskydragon@qq.com>                         |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

return [
    // cookie 名称前缀
    'prefix'    => '',
    // cookie 保存时间
    'expire'   => 0,
    // cookie 保存路径
    'path'     => '/',
    // cookie 有效域名（如需跨子域可设置为 .onebase-update-thinkphp.my）
    'domain'   => '',
    //  cookie 启用安全传输
    'secure'   => false,
    // httponly设置
    'httponly' => true,
    // samesite 设置，支持 '' 'Lax' 'Strict' 'None'
    'samesite' => '',
];